package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动奖项对象 buz_task_awards
 * 
 * @author ruoyi
 * @date 2023-08-27
 */
public class BuzTaskAwards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private String buzTaskId;

    /** 奖项等级 */
    @Excel(name = "奖项等级")
    private String awardsLevel;

    /** 奖项顺序 */
    @Excel(name = "奖项顺序")
    private Integer awardsSeq;

    /** 奖项类型(0:微信现金红包;1:实物礼品) */
    @Excel(name = "奖项类型(0:微信现金红包;1:实物礼品)")
    private Integer awardType;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String awardName;

    /** 奖品数量 */
    @Excel(name = "奖品数量")
    private Integer awardNums;

    /** 红包金额(0:固定:1:随机) */
    @Excel(name = "红包金额(0:固定:1:随机)")
    private Integer moneyType;

    /** 单个/平均金额 */
    @Excel(name = "单个/平均金额")
    private Integer singleAvgMoney;

    /** 最小金额 */
    @Excel(name = "最小金额")
    private Integer minMoney;

    /** 最大金额 */
    @Excel(name = "最大金额")
    private Integer maxMoney;

    /** 开始领奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始领奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startRecieveAwards;

    /** 领奖截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领奖截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endRecieveAwards;

    /** 实物礼品领取方式(0:上门自取;1:邮寄) */
    @Excel(name = "实物礼品领取方式(0:上门自取;1:邮寄)")
    private Integer giftRecieveType;

    /** 兑奖地址 */
    @Excel(name = "兑奖地址")
    private String giftRecieveAddress;

    /** 剩余奖品数量 */
    @Excel(name = "剩余奖品数量")
    private Integer leftAwardNums;
    
    private String awardsRate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBuzTaskId(String buzTaskId) 
    {
        this.buzTaskId = buzTaskId;
    }

    public String getBuzTaskId() 
    {
        return buzTaskId;
    }
    public void setAwardsLevel(String awardsLevel) 
    {
        this.awardsLevel = awardsLevel;
    }

    public String getAwardsLevel() 
    {
        return awardsLevel;
    }
    public void setAwardsSeq(Integer awardsSeq) 
    {
        this.awardsSeq = awardsSeq;
    }

    public Integer getAwardsSeq() 
    {
        return awardsSeq;
    }
    public void setAwardType(Integer awardType) 
    {
        this.awardType = awardType;
    }

    public Integer getAwardType() 
    {
        return awardType;
    }
    public void setAwardName(String awardName) 
    {
        this.awardName = awardName;
    }

    public String getAwardName() 
    {
        return awardName;
    }
    public void setAwardNums(Integer awardNums) 
    {
        this.awardNums = awardNums;
    }

    public Integer getAwardNums() 
    {
        return awardNums;
    }
    public void setMoneyType(Integer moneyType) 
    {
        this.moneyType = moneyType;
    }

    public Integer getMoneyType() 
    {
        return moneyType;
    }
    public void setSingleAvgMoney(Integer singleAvgMoney) 
    {
        this.singleAvgMoney = singleAvgMoney;
    }

    public Integer getSingleAvgMoney() 
    {
        return singleAvgMoney;
    }
    public void setMinMoney(Integer minMoney) 
    {
        this.minMoney = minMoney;
    }

    public Integer getMinMoney() 
    {
        return minMoney;
    }
    public void setMaxMoney(Integer maxMoney) 
    {
        this.maxMoney = maxMoney;
    }

    public Integer getMaxMoney() 
    {
        return maxMoney;
    }
    public void setStartRecieveAwards(Date startRecieveAwards) 
    {
        this.startRecieveAwards = startRecieveAwards;
    }

    public Date getStartRecieveAwards() 
    {
        return startRecieveAwards;
    }
    public void setEndRecieveAwards(Date endRecieveAwards) 
    {
        this.endRecieveAwards = endRecieveAwards;
    }

    public Date getEndRecieveAwards() 
    {
        return endRecieveAwards;
    }
    public void setGiftRecieveType(Integer giftRecieveType) 
    {
        this.giftRecieveType = giftRecieveType;
    }

    public Integer getGiftRecieveType() 
    {
        return giftRecieveType;
    }
    public void setGiftRecieveAddress(String giftRecieveAddress) 
    {
        this.giftRecieveAddress = giftRecieveAddress;
    }

    public String getGiftRecieveAddress() 
    {
        return giftRecieveAddress;
    }
    public void setLeftAwardNums(Integer leftAwardNums) 
    {
        this.leftAwardNums = leftAwardNums;
    }

    public Integer getLeftAwardNums() 
    {
        return leftAwardNums;
    }
    
    

    public String getAwardsRate() {
		return awardsRate;
	}

	public void setAwardsRate(String awardsRate) {
		this.awardsRate = awardsRate;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buzTaskId", getBuzTaskId())
            .append("awardsLevel", getAwardsLevel())
            .append("awardsSeq", getAwardsSeq())
            .append("awardType", getAwardType())
            .append("awardName", getAwardName())
            .append("awardNums", getAwardNums())
            .append("moneyType", getMoneyType())
            .append("singleAvgMoney", getSingleAvgMoney())
            .append("minMoney", getMinMoney())
            .append("maxMoney", getMaxMoney())
            .append("startRecieveAwards", getStartRecieveAwards())
            .append("endRecieveAwards", getEndRecieveAwards())
            .append("giftRecieveType", getGiftRecieveType())
            .append("giftRecieveAddress", getGiftRecieveAddress())
            .append("leftAwardNums", getLeftAwardNums())
            .toString();
    }
}
